<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="https://v3.bootcss.com/favicon.ico">
    <title>Dashboard Template for Bootstrap</title>
    <!-- Bootstrap core CSS -->
    {% load static %}
    <link href="{% static "bootstrap-3.3.7/css/bootstrap.css" %}" rel="stylesheet">

    <!-- 当前页面用到的自定义样式 -->
    <link href="{% get_static_prefix %}dashboard.css" rel="stylesheet">
</head>

<body>

{% include 'nav.html' %}
<div class="container-fluid">
    <div class="row">
        <div class="col-sm-3 col-md-2 sidebar">
            <ul class="nav nav-sidebar">
                <li class="{% block press %} {% endblock %}"><a href="{% url 'press' %}">出版社列表</a></li>
                <li class="{% block book %} {% endblock %}"><a href={% url 'book' %}>书籍列表</a></li>
                <li class="{% block author %} {% endblock %}"><a href={% url 'author' %}>作者列表</a></li>
            </ul>
        </div>
        <div class="col-sm-8 col-sm-offset-2 col-md-8 col-md-offset-2 main">
            {% block content %}

            {% endblock %}
                    <!--分页器开始-->
                    {% load mypaginator %}
                {% mypaginator 21 1 %}
         <!--分页器结束-->
                </div>
            </div>
            <!--面板 结束-->

    </div>

<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="{% get_static_prefix %}jquery-3.3.1.js"></script>
<script src="{% get_static_prefix %}bootstrap-3.3.7/js/bootstrap.js"></script>
</body>
</html>